package com.kly.enums;

import lombok.Getter;

/**
 * @author admin
 * @date 2025/2/24
 */
@Getter
public enum UserRole {
    ADMIN(1, "admin"),
    COMMON(0, "user");

    private final int value;

    private final String role;

    UserRole(int value, String role) {
        this.value = value;
        this.role = role;
    }
}
